<?php
/**
 * Created by PhpStorm.
 * Email: 1194008361@qq.com
 * User:liaosp.top
 * Date: 2018/9/11
 * Time: 22:16
 */

namespace core\lib;


class Model extends \PDO
{
    function __construct()
    {
        $dsn='mysql:host=localhost;dbname=carbird';
        $username='root';
        $passwd ='root';
        try{
            parent::__construct($dsn, $username, $passwd);
        }catch (\Exception $exception){
            echo $exception->getMessage();
        }
    }



}